using System;
using UnityEngine;

[Serializable]
public class movelimiter : MonoBehaviour
{
	public void Update()
	{
		Vector3 position = transform.position;
		if (!(position.x <= 0.01f))
		{
			float x = 0.01f;
			Vector3 position2 = transform.position;
			position2.x = x;
			Vector3 vector2 = transform.position = position2;
		}
		Vector3 position3 = transform.position;
		if (!(position3.x >= -10.8f))
		{
			float x2 = -10.8f;
			Vector3 position4 = transform.position;
			position4.x = x2;
			Vector3 vector4 = transform.position = position4;
		}
	}

	public void Main()
	{
	}
}
